﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Aandelendelen.String
{
	public static class StringExtension
	{
		/// <summary>
		/// Cleans up all control chars
		/// </summary>
		/// <param name="str"></param>
		/// <returns></returns>
		public static string Clean(this string str)
		{
			return new string((str.Where(c => c.CompareTo(' ') >= 0)).ToArray());
		}
	}
}